package com.example.carmessage2;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class ProtetdAdvice extends AppCompatActivity {
TextView protedadvice;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_protetd_advice);

        protedadvice=findViewById(R.id.protedadvice);
        Intent intent=getIntent();
        String a=intent.getStringExtra("advice1");
        if (a.equals("保养建议1")){
            protedadvice.setText("保养建议1111111111111，请检查啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦");
        }

    }
}